/**
 * 
 */
package cn.haona.game.simb.wap.actions.fight;

import java.util.ArrayList;
import java.util.List;

import cn.haona.game.simb.object.bio.User;
import cn.haona.game.simb.object.team.FightTeamFighterOrg;
import cn.haona.game.simb.wap.util.Util;

import com.opensymphony.xwork2.ActionSupport;

/**
 * 寻找
 * @author shenhao
 *
 */
public class LookForFighterAction extends ActionSupport
{
//	打斗原型列表
//	List<FightTeamFighterOrg> listFTFO;
	
	private String name;
	/**
	 * 
	 * @return
	 */
	public String lookForFighter()
	{
//		User user=new User();
//		user.initPO();
//		user.getUserPO().setId(4L);
		name="asdfasfd";
//		listFTFO=new ArrayList<FightTeamFighterOrg>();
//		listFTFO.add(FightTeamFighterOrg.getFightTempTeam(user.getPO().getId(), Util.getRandomAInt(1, 3), FightTeamFighterOrg.TEAM_TYPE_USER));
//		listFTFO.add(FightTeamFighterOrg.getFightTempTeam(user.getPO().getId(), Util.getRandomAInt(1, 3), FightTeamFighterOrg.TEAM_TYPE_USERNPC));
//		listFTFO.add(FightTeamFighterOrg.getFightTempTeam(user.getPO().getId(), Util.getRandomAInt(1, 3), FightTeamFighterOrg.TEAM_TYPE_NPCUSER));
//		listFTFO.add(FightTeamFighterOrg.getFightTempTeam(user.getPO().getId(), Util.getRandomAInt(1, 3), FightTeamFighterOrg.TEAM_TYPE_NPC));
		return SUCCESS;
	}
//	public List<FightTeamFighterOrg> getListFTFO()
//	{
//		return listFTFO;
//	}
//	public void setListFTFO(List<FightTeamFighterOrg> listFTFO)
//	{
//		this.listFTFO = listFTFO;
//	}
	public String getName()
	{
		return name;
	}
	public void setName(String name)
	{
		this.name = name;
	}
	
	
}
